echo build linux 64
export CGO_ENABLED=0
export GOOS=linux
export GOARCH=amd64
go build -o ./build/linux-go-jsmpeg-server go-jsmpeg-server

echo build darwin 64
export CGO_ENABLED=0
export GOOS=darwin
export GOARCH=amd64
go build -o ./build/darwin-go-jsmpeg-server go-jsmpeg-server

echo build windows 64
export CGO_ENABLED=0
export GOOS=windows
export GOARCH=amd64
go build -o ./build/windows-go-jsmpeg-server.exe go-jsmpeg-server

cp application.json ./build/
